# -*- coding: utf-8 -*-

import os

os.system('ipconfig')

p = os.popen(cmd='ipconfig /all')
print(p.read())
